package com.lj.graduate.service.impl;

import com.lj.graduate.controller.dto.FeedbackDTO;
import com.lj.graduate.controller.dto.OrderDetailDTO;
import com.lj.graduate.entity.OrderDetail;
import com.lj.graduate.mapper.OrderDetailMapper;
import com.lj.graduate.service.IOrderDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ljy
 * @since 2023-04-13
 */
@Service
public class OrderDetailServiceImpl extends ServiceImpl<OrderDetailMapper, OrderDetail> implements IOrderDetailService {
    @Autowired
    private OrderDetailMapper orderDetailMapper;

    @Override
    public List<OrderDetailDTO> selectPage(Integer pageNum, Integer pageSize) {

        List<OrderDetailDTO> data = orderDetailMapper.selectPage(pageNum, pageSize);

        return data;

    }
}
